home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / boot / wbstartu.lha / WBStartup+V2.4 / Install < prev    next >
Text File  |  1995-10-04  |  3KB  |  98 lines

  1. ;
  2. ; $PROJECT: WBStartup+
  3. ;
  4. ; (C) Copyright 1995 John Hughes.  All Rights Reserved.
  5. ;
  6.  
  7.  
  8. (
  9.   (working "Installing WBStartup+")
  10.  
  11.   (message "\n\nWBStartup+ and WBStartup+Prefs\n\nare Postcardware.\n\nIf you use either of these programs, please send a postcard of your city or country to:\n\nJohn Hughes\n901 Highview Rd.\nEast Peoria, IL 61611 USA")
  12.  
  13.   (if (exists "SYS:WBStartup/WBStartup+")
  14.     ( ; UPGRADE PREVIOUS VERSION
  15.       (message "\n\nA previous version of WBStartup+ has been found.  I will upgrade your version.")
  16.     )
  17.     ( ; INSTALL FOR THE FIRST TIME
  18.       ; Moving the WBStartup files safely
  19.       (
  20.         (rename "SYS:WBStartup" "SYS:WBStartup.temp")
  21.         (makedir "SYS:WBStartup")
  22.         (rename "SYS:WBStartup.temp" "SYS:WBStartup/WBStartup (Enabled)")
  23.       )
  24.  
  25.       ; Creating Disabled Directory
  26.       (makedir "SYS:WBStartup/WBStartup (Disabled)")
  27.     )
  28.   )
  29.  
  30.       ; Copying icon
  31.       (copyfiles
  32.         (prompt "Copying the Enabled icon")
  33.         (source "icons/Enabled_Icon.info")
  34.         (dest "SYS:WBStartup")
  35.         (newname "WBStartup (Enabled).info")
  36.       )
  37.  
  38.       ; Copying icon
  39.       (copyfiles
  40.         (prompt "Copying the Disabled icon")
  41.         (source "icons/Disabled_Icon.info")
  42.         (dest "SYS:WBStartup")
  43.         (newname "WBStartup (Disabled).info")
  44.       )
  45.  
  46.       ; Copy WBStartup+
  47.       (if (< (/ (getversion) 65536) 39)  ;if this is OS2.x
  48.         ; Copy WBStartup+ for OS2.x
  49.         (copyfiles
  50.           (prompt "Copying the WBStartup+ Executable for OS2.x")
  51.           (help @copyfiles-help)
  52.           (source "OS2.x/WBStartup+")
  53.           (dest "SYS:WBStartup")
  54.           (infos)
  55.         )
  56.         (
  57.           ; else, copy WBStartup+ and WBStartup+Prefs for OS3.x users
  58.  
  59.           ; Copy WBStartup+ for OS3.x
  60.           (copyfiles
  61.             (prompt "Copying the WBStartup+ Executable for OS3.x")
  62.             (help @copyfiles-help)
  63.             (source "OS3.x/WBStartup+")
  64.             (dest "SYS:WBStartup")
  65.             (infos)
  66.           )
  67.           ; Copy WBStartup+Prefs for OS3.x users
  68.           (copyfiles
  69.             (prompt "Copying the WBStartup+Prefs Executable for OS3.x")
  70.             (help @copyfiles-help)
  71.             (source "OS3.x/WBStartup+Prefs")
  72.             (dest "SYS:Prefs")
  73.             (confirm)
  74.             (infos)
  75.           )
  76.         )
  77.       )
  78.  
  79.       ; install AmigaGuide file
  80.       (copyfiles
  81.         (prompt "Copying AmigaGuide file")
  82.         (help @copyfiles-help)
  83.         (source "WBStartup+.guide")
  84.         (dest "AmigaGuide:")
  85.         (confirm)
  86.       )
  87.  
  88.       ; install WBStart-Handler to L:
  89.       (copylib
  90.         (prompt "Copying AmigaGuide file")
  91.         (help @copylib-help)
  92.         (source "L/WBStart-Handler")
  93.         (dest "L:")
  94.       )
  95.  
  96.     (set @default-dest "SYS:WBStartup")
  97. )
  98.